package spitfire.ksim.data;

import java.util.HashMap;
import java.util.Map;

import spitfire.ksim.algorithm.RankList;

public class TSDResponseData{

	private Map<String, RankList> typeRankMap = new HashMap<String, RankList>();

	public void putRankList(String sensorType, RankList rankList) {
		typeRankMap.put(sensorType, rankList);
	}
	
	public RankList getRankList(String sensorType) {
		return typeRankMap.get(sensorType);
	}
	
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("TSDResponseData [");
		builder.append(typeRankMap.keySet());
		builder.append("]");
		return builder.toString();
	}
}
